Skip to content

Conversation

@tpaviot
Copy link
Owner

@tpaviot tpaviot commented Nov 1, 2011

This branch adds a webgl renderer. Please test that:

  • the branch compiles (use the cmake builder)
  • the unittests pass
  • the new examples (src/examples/Level1/webgl) succesfully work.

@henrikrudstrom
Copy link
Contributor

managed to compile on ubuntu 11.10 but i had to change "std::abs" to "abs" in Tesselator.cpp (line 454 + 3) since g++ (version 4.6.1) complained.
once compiled im unable to import WebGl:
File "helloworld.py", line 18, in
from OCC.Display.WebGl import webgl_renderer
ImportError: No module named WebGl

if i cd into OCC/Display/WebGl and import webgl_renderer it imports

any idea?

@tpaviot
Copy link
Owner Author

tpaviot commented Nov 2, 2011

Thanks henrik for testing. I will change abs to std:: abs in Tesselator.cpp.

For the import issue, may be an empty init.py file is missing from the WebGl directory. Can you check that?

@henrikrudstrom
Copy link
Contributor

the init.py ls there...

@tpaviot
Copy link
Owner Author

tpaviot commented Nov 2, 2011

weird. Did u use the cmake builder?

tpaviot added a commit that referenced this pull request Mar 5, 2012
@tpaviot tpaviot merged commit 93e02a7 into master Mar 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants